package com.spring.sunflower.userinfo

import android.widget.TextView
import com.spring.sunflower.R
import com.spring.sunflower.base.BaseCompatActivity
import com.spring.sunflower.constant.Constant

/**
 * Created by Kevin on 2021/8/16<br/>
 *
 * Describe:<br/>
 * 真人认证授权声明
 */
class AuthRealGrantActivity : BaseCompatActivity() {
    override fun initView() {
        tvTitle.text="授权声明"
        var tvDone: TextView = findViewById(R.id.tvDone)
        tvDone.setOnClickListener {
            saveField(Constant.AUTH_REAL_GRANT, true)
            setResult(RESULT_OK)
            finish()
        }
    }

    override fun getLayoutID(): Int = R.layout.activity_auth_real_grant
}